Package | de.gematik.erezept-workflow.r4 |
Type | StructureDefinition |
Id | Id |
FHIR Version | R4 |
Source | https://simplifier.net/resolve?scope=de.gematik.erezept-workflow.r4@1.4.3&canonical=https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_DispenseOperation_Input |
Url | https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_DispenseOperation_Input |
Version | 1.4 |
Status | active |
Date | 2024-07-15 |
Name | GEM_ERP_PR_PAR_DispenseOperation_Input |
Title | GEM ERP PR DispenseOperation Input |
Experimental | False |
Description | This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $dispense-operation. |
Type | Parameters |
Kind | resource |
No resources found
StructureDefinition | |
https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication | Medication for the Dispensation of the Prescription |
https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense | Dispensation of the Prescription |
{
"resourceType" : "StructureDefinition",
"id" : "GEM-ERP-PR-PAR-Dispense-Operation-Input",
"url" : "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_DispenseOperation_Input",
"version" : "1.4",
"name" : "GEM_ERP_PR_PAR_DispenseOperation_Input",
"title" : "GEM ERP PR DispenseOperation Input",
"status" : "active",
"date" : "2024-07-15",
"description" : "This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $dispense-operation.",
"fhirVersion" : "4.0.1",
"kind" : "resource",
"abstract" : false,
"type" : "Parameters",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Parameters",
"derivation" : "constraint",
"differential" : {
"element" : [
{
"id" : "Parameters.meta",
"path" : "Parameters.meta",
"min" : 1
},
{
"id" : "Parameters.meta.profile",
"path" : "Parameters.meta.profile",
"min" : 1,
"max" : "1",
"fixedCanonical" : "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_DispenseOperation_Input|1.4"
},
{
"id" : "Parameters.parameter",
"path" : "Parameters.parameter",
"slicing" : {
"discriminator" : [
{
"type" : "pattern",
"path" : "name"
}
],
"rules" : "closed"
},
"min" : 1
},
{
"id" : "Parameters.parameter:rxDispensation",
"path" : "Parameters.parameter",
"sliceName" : "rxDispensation",
"min" : 1,
"max" : "*",
"constraint" : [
{
"key" : "workflow-parameters-close-dispense-medication-references",
"severity" : "error",
"human" : "If a reference from a MedicationDispense to a Medication exists, the reference must resolve to the Medication.",
"expression" : "part.where(name = 'medicationDispense').resource.medication.ofType(Reference).reference.exists() implies ((part.where(name = 'medicationDispense').resource.medication.reference.split('/').last().split(':').last()) = (part.where(name = 'medication').resource.id))",
"source" : "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_DispenseOperation_Input"
}
]
},
{
"id" : "Parameters.parameter:rxDispensation.name",
"path" : "Parameters.parameter.name",
"patternString" : "rxDispensation",
"mustSupport" : true
},
{
"id" : "Parameters.parameter:rxDispensation.value[x]",
"path" : "Parameters.parameter.value[x]",
"max" : "0"
},
{
"id" : "Parameters.parameter:rxDispensation.resource",
"path" : "Parameters.parameter.resource",
"max" : "0"
},
{
"id" : "Parameters.parameter:rxDispensation.part",
"path" : "Parameters.parameter.part",
"slicing" : {
"discriminator" : [
{
"type" : "pattern",
"path" : "name"
}
],
"rules" : "closed"
},
"min" : 2,
"mustSupport" : true
},
{
"id" : "Parameters.parameter:rxDispensation.part:medicationDispense",
"path" : "Parameters.parameter.part",
"sliceName" : "medicationDispense",
"min" : 1,
"max" : "1",
"type" : [
{
"code" : "BackboneElement"
}
]
},
{
"id" : "Parameters.parameter:rxDispensation.part:medicationDispense.name",
"path" : "Parameters.parameter.part.name",
"patternString" : "medicationDispense",
"mustSupport" : true
},
{
"id" : "Parameters.parameter:rxDispensation.part:medicationDispense.value[x]",
"path" : "Parameters.parameter.part.value[x]",
"max" : "0"
},
{
"id" : "Parameters.parameter:rxDispensation.part:medicationDispense.resource",
"path" : "Parameters.parameter.part.resource",
"min" : 1,
"type" : [
{
"code" : "MedicationDispense",
"profile" : [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense"
]
}
]
},
{
"id" : "Parameters.parameter:rxDispensation.part:medicationDispense.part",
"path" : "Parameters.parameter.part.part",
"max" : "0"
},
{
"id" : "Parameters.parameter:rxDispensation.part:medication",
"path" : "Parameters.parameter.part",
"sliceName" : "medication",
"min" : 1,
"max" : "1",
"type" : [
{
"code" : "BackboneElement"
}
]
},
{
"id" : "Parameters.parameter:rxDispensation.part:medication.name",
"path" : "Parameters.parameter.part.name",
"patternString" : "medication",
"mustSupport" : true
},
{
"id" : "Parameters.parameter:rxDispensation.part:medication.value[x]",
"path" : "Parameters.parameter.part.value[x]",
"max" : "0"
},
{
"id" : "Parameters.parameter:rxDispensation.part:medication.resource",
"path" : "Parameters.parameter.part.resource",
"min" : 1,
"type" : [
{
"code" : "Medication",
"profile" : [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication"
]
}
]
},
{
"id" : "Parameters.parameter:rxDispensation.part:medication.part",
"path" : "Parameters.parameter.part.part",
"max" : "0"
}
]
},
"text" : {
}
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.